ContentSearchParamsObject

The content search object for specifying search criteria to be used in content searches.

API Section: Objects

Type: Object

Properties

Name

Description

Required

Type

Format

searchString

The terms to be used in the search

Y

string

isAdvancedSearch

Boolean to indicate if this is an advanced search. Advanced searches will use other provided criteria. Otherwise, the simple search will just use the search string only

-

boolean

filterTypes

A listing of different content types to narrow the search

Y

ContentTypeObject [ ]

searchMatchType

Enumeration of the type osf search term matching

Y

SearchMatchType

startCreatedDate

Starting date for range searching on create dates

-

string

date-time

endCreatedDate

Ending date for range searching on create dates

-

string

date-time

startModifiedDate

Starting date for range searching on modified dates

-

string

date-time

endModifiedDate

Ending date for range searching on modified dates

-

string

date-time

server

Server name when searching by data source

-

string

model

Model name when searching by data source

-

string

dataBase

Database name when searching by data source

-

string

searchRootFolderType

Enumeration of which content domain to search in (private, public etc)

Y

SearchRootFolderType

folderPathToSearch

This is a folder path to use in searching. Use in the format folderA\folderB\..... using the folder captions, not their IDs

-

string

*Required elements are only used for API parameters

Usages
  • /API2/content/findContentItem